// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import ElementUi from 'element-ui'
import VueRouter from "vue-router"
import Axios from "axios";
import VueAxios from "vue-axios";

// Axios.defaults.baseURL = 'http://127.0.0.1:8000'
//添加原型
Vue.prototype.$axios = Axios
Vue.use(VueAxios, Axios)
Vue.use(VueRouter)
Vue.use(ElementUi)
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  VueRouter,
  components: {App},
  template: '<App/>'
})
